Optimal. Leaf size=94 \[ -\frac {a^2 x \sqrt {a+b x^2}}{16 b^2}+\frac {a x^3 \sqrt {a+b x^2}}{24 b}+\frac {1}{6} x^5 \sqrt {a+b x^2}+\frac {a^3 \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{16 b^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 94, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {285, 327, 223,
212} \begin {gather*} \frac {a^3 \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{16 b^{5/2}}-\frac {a^2 x \sqrt {a+b x^2}}{16 b^2}+\frac {1}{6} x^5 \sqrt {a+b x^2}+\frac {a x^3 \sqrt {a+b x^2}}{24 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 223
Rule 285
Rule 327
Rubi steps
\begin {align*} \int x^4 \sqrt {a+b x^2} \, dx &=\frac {1}{6} x^5 \sqrt {a+b x^2}+\frac {1}{6} a \int \frac {x^4}{\sqrt {a+b x^2}} \, dx\\ &=\frac {a x^3 \sqrt {a+b x^2}}{24 b}+\frac {1}{6} x^5 \sqrt {a+b x^2}-\frac {a^2 \int \frac {x^2}{\sqrt {a+b x^2}} \, dx}{8 b}\\ &=-\frac {a^2 x \sqrt {a+b x^2}}{16 b^2}+\frac {a x^3 \sqrt {a+b x^2}}{24 b}+\frac {1}{6} x^5 \sqrt {a+b x^2}+\frac {a^3 \int \frac {1}{\sqrt {a+b x^2}} \, dx}{16 b^2}\\ &=-\frac {a^2 x \sqrt {a+b x^2}}{16 b^2}+\frac {a x^3 \sqrt {a+b x^2}}{24 b}+\frac {1}{6} x^5 \sqrt {a+b x^2}+\frac {a^3 \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {a+b x^2}}\right )}{16 b^2}\\ &=-\frac {a^2 x \sqrt {a+b x^2}}{16 b^2}+\frac {a x^3 \sqrt {a+b x^2}}{24 b}+\frac {1}{6} x^5 \sqrt {a+b x^2}+\frac {a^3 \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{16 b^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 74, normalized size = 0.79 \begin {gather*} \frac {\sqrt {a+b x^2} \left (-3 a^2 x+2 a b x^3+8 b^2 x^5\right )}{48 b^2}-\frac {a^3 \log \left (-\sqrt {b} x+\sqrt {a+b x^2}\right )}{16 b^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 82, normalized size = 0.87
method | result | size |
risch | \(-\frac {x \left (-8 b^{2} x^{4}-2 a b \,x^{2}+3 a^{2}\right ) \sqrt {b \,x^{2}+a}}{48 b^{2}}+\frac {a^{3} \ln \left (x \sqrt {b}+\sqrt {b \,x^{2}+a}\right )}{16 b^{\frac {5}{2}}}\) | \(62\) |
default | \(\frac {x^{3} \left (b \,x^{2}+a \right )^{\frac {3}{2}}}{6 b}-\frac {a \left (\frac {x \left (b \,x^{2}+a \right )^{\frac {3}{2}}}{4 b}-\frac {a \left (\frac {x \sqrt {b \,x^{2}+a}}{2}+\frac {a \ln \left (x \sqrt {b}+\sqrt {b \,x^{2}+a}\right )}{2 \sqrt {b}}\right )}{4 b}\right )}{2 b}\) | \(82\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 69, normalized size = 0.73 \begin {gather*} \frac {{\left (b x^{2} + a\right )}^{\frac {3}{2}} x^{3}}{6 \, b} - \frac {{\left (b x^{2} + a\right )}^{\frac {3}{2}} a x}{8 \, b^{2}} + \frac {\sqrt {b x^{2} + a} a^{2} x}{16 \, b^{2}} + \frac {a^{3} \operatorname {arsinh}\left (\frac {b x}{\sqrt {a b}}\right )}{16 \, b^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.02, size = 146, normalized size = 1.55 \begin {gather*} \left [\frac {3 \, a^{3} \sqrt {b} \log \left (-2 \, b x^{2} - 2 \, \sqrt {b x^{2} + a} \sqrt {b} x - a\right ) + 2 \, {\left (8 \, b^{3} x^{5} + 2 \, a b^{2} x^{3} - 3 \, a^{2} b x\right )} \sqrt {b x^{2} + a}}{96 \, b^{3}}, -\frac {3 \, a^{3} \sqrt {-b} \arctan \left (\frac {\sqrt {-b} x}{\sqrt {b x^{2} + a}}\right ) - {\left (8 \, b^{3} x^{5} + 2 \, a b^{2} x^{3} - 3 \, a^{2} b x\right )} \sqrt {b x^{2} + a}}{48 \, b^{3}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 5.10, size = 117, normalized size = 1.24 \begin {gather*} - \frac {a^{\frac {5}{2}} x}{16 b^{2} \sqrt {1 + \frac {b x^{2}}{a}}} - \frac {a^{\frac {3}{2}} x^{3}}{48 b \sqrt {1 + \frac {b x^{2}}{a}}} + \frac {5 \sqrt {a} x^{5}}{24 \sqrt {1 + \frac {b x^{2}}{a}}} + \frac {a^{3} \operatorname {asinh}{\left (\frac {\sqrt {b} x}{\sqrt {a}} \right )}}{16 b^{\frac {5}{2}}} + \frac {b x^{7}}{6 \sqrt {a} \sqrt {1 + \frac {b x^{2}}{a}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.50, size = 64, normalized size = 0.68 \begin {gather*} \frac {1}{48} \, {\left (2 \, {\left (4 \, x^{2} + \frac {a}{b}\right )} x^{2} - \frac {3 \, a^{2}}{b^{2}}\right )} \sqrt {b x^{2} + a} x - \frac {a^{3} \log \left ({\left | -\sqrt {b} x + \sqrt {b x^{2} + a} \right |}\right )}{16 \, b^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^4\,\sqrt {b\,x^2+a} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________